local CommonOHOH = _G.CommonOHOH;
local M = CommonOHOH.class.new(script,script.Parent.base,script.Parent.Name);

function M.new(self,...)
	return M(self,...);
end;

function M.ctor(self, parent)
	M.super.ctor(self, parent);
end;


function M.dtor(self)
	M.super.dtor(self);
end


-- 服务器回调
function M.DataFromClient(self,arg)
   local tain=self:FindTrianObj(arg.guid)
   if tain then
        tain:Hurt(self:GetTrianValue())
   end
end

return M